package com.hs.dnms.model;

import java.util.Set;
import java.util.TreeSet;

/**
 * DnmsPre entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class DnmsPre extends com.hs.core.model.BaseBean implements
		java.io.Serializable {

	// Fields

	private Long id;
	private String prename;
	private String fromprename;
	private Long pretype;
	private String beizhu;
	private Long symid;
	private Set herbset = new TreeSet();

	// Constructors

	public Set getHerbset() {
		return herbset;
	}

	public void setHerbset(Set herbset) {
		this.herbset = herbset;
	}

	/** default constructor */
	public DnmsPre() {
	}

	/** full constructor */
	public DnmsPre(String prename, String fromprename, Long pretype,
			String beizhu, Long symid) {
		this.prename = prename;
		this.fromprename = fromprename;
		this.pretype = pretype;
		this.beizhu = beizhu;
		this.symid = symid;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPrename() {
		return this.prename;
	}

	public void setPrename(String prename) {
		this.prename = prename;
	}

	public String getFromprename() {
		return this.fromprename;
	}

	public void setFromprename(String fromprename) {
		this.fromprename = fromprename;
	}

	public Long getPretype() {
		return this.pretype;
	}

	public void setPretype(Long pretype) {
		this.pretype = pretype;
	}

	public String getBeizhu() {
		return this.beizhu;
	}

	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}

	public Long getSymid() {
		return this.symid;
	}

	public void setSymid(Long symid) {
		this.symid = symid;
	}

}